package com.vast.admin.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.vast.system.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com.vast.admin.entity.ArbitrationCase")
@Data
@TableName(value = "arbitration_case")
public class ArbitrationCase extends SuperEntity {

    /**
     * 案件所属公司
     */
    @TableField(value = "company_id")
    @ApiModelProperty(value = "案件所属公司")
    private Long companyId;

    /**
     * 内部项目ID（arbitration_project）
     */
    @TableField(value = "project_id")
    @ApiModelProperty(value = "内部项目ID（arbitration_project）")
    private Long projectId;

    /**
     * 案件类型：1贸仲湖北分会
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "案件类型：1贸仲湖北分会")
    private Integer type;

    /**
     * 案件合同id
     */
    @TableField(value = "contract_id")
    @ApiModelProperty(value = "案件合同id")
    private Long contractId;

    /**
     * 合同编号
     */
    @TableField(value = "contract_no")
    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    /**
     * 案件合同名称
     */
    @TableField(value = "contract_name")
    @ApiModelProperty(value = "案件合同名称")
    private String contractName;

    /**
     * 案件外部对接id
     */
    @TableField(value = "case_id")
    @ApiModelProperty(value = "案件外部对接id")
    private Long caseId;

    /**
     * 案件状态
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "案件状态")
    private String status;

    /**
     * 争议金额
     */
    @TableField(value = "amount")
    @ApiModelProperty(value = "争议金额")
    private Double amount;

    /**
     * 案件双方发生争议 1.发生了争议 2.未发生争议
     */
    @TableField(value = "is_dispute")
    @ApiModelProperty(value = "案件双方发生争议 1.发生了争议 2.未发生争议")
    private Integer isDispute;

    public static final String COL_COMPANY_ID = "company_id";

    public static final String COL_PROJECT_ID = "project_id";

    public static final String COL_TYPE = "type";

    public static final String COL_CONTRACT_ID = "contract_id";

    public static final String COL_CONTRACT_NO = "contract_no";

    public static final String COL_CONTRACT_NAME = "contract_name";

    public static final String COL_CASE_ID = "case_id";

    public static final String COL_STATUS = "status";

    public static final String COL_AMOUNT = "amount";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_VALID = "valid";
}